/**/
package com.vcredit.creditcat.persistence.base;

import java.util.List;

import com.vcredit.creditcat.model.Banner;
import com.vcredit.creditcat.framework.pagination.Criteria;

public interface BannerMapper {
    
  List<Banner> findByPage(Criteria criteria);
    
  Long findByPageCount(Criteria criteria);
    
  List<Banner> find(Banner banner);

  Banner findById(Long bannerId);
	
  List<Banner> findAll();
	
  void insert(Banner Banner);
	
  void update(Banner Banner);
	
  void delete(Long bannerId);

}
